package com.juben.svr.domain;

public class Conversations {
    private Integer conversation_id;
<<<<<<< HEAD
    private Integer user_id;
    private Integer toUserId;
    private  String list_name;
    private  Integer un_read_count;
    private  String created_at;

    private String headImg;

    private String last_message_time;
=======
    private Integer user1, user2_id;
    private Integer last_message_id;
>>>>>>> 38a1dbe3941ebf5713fbf4c6d3dbf69154c425d3

    public Integer getConversation_id() {
        return conversation_id;
    }

    public void setConversation_id(Integer conversation_id) {
        this.conversation_id = conversation_id;
    }

<<<<<<< HEAD
    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getToUserId() {
        return toUserId;
    }

    public void setToUserId(Integer toUserId) {
        this.toUserId = toUserId;
    }

    public String getList_name() {
        return list_name;
    }

    public void setList_name(String list_name) {
        this.list_name = list_name;
    }

    public Integer getUn_read_count() {
        return un_read_count;
    }

    public void setUn_read_count(Integer un_read_count) {
        this.un_read_count = un_read_count;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getAvatar() {
        return headImg;
    }

    public void setAvatar(String avatar) {
        this.headImg = avatar;
    }

    public String getLast_message_time() {
        return last_message_time;
    }

    public void setLast_message_time(String last_message_time) {
        this.last_message_time = last_message_time;
=======
    public Integer getUser1() {
        return user1;
    }

    public void setUser1(Integer user1) {
        this.user1 = user1;
    }

    public Integer getUser2_id() {
        return user2_id;
    }

    public void setUser2_id(Integer user2_id) {
        this.user2_id = user2_id;
    }

    public Integer getLast_message_id() {
        return last_message_id;
    }

    public void setLast_message_id(Integer last_message_id) {
        this.last_message_id = last_message_id;
>>>>>>> 38a1dbe3941ebf5713fbf4c6d3dbf69154c425d3
    }

    @Override
    public String toString() {
<<<<<<< HEAD
        return "Conversations{" +
                "conversation_id=" + conversation_id +
                ", user_id=" + user_id +
                ", toUserId=" + toUserId +
                ", list_name='" + list_name + '\'' +
                ", un_read_count=" + un_read_count +
                ", created_at='" + created_at + '\'' +
                ", headImg='" + headImg + '\'' +
                ", last_message_time='" + last_message_time + '\'' +
=======
        return "conversations{" +
                "conversation_id=" + conversation_id +
                ", user1=" + user1 +
                ", user2_id=" + user2_id +
                ", last_message_id=" + last_message_id +
>>>>>>> 38a1dbe3941ebf5713fbf4c6d3dbf69154c425d3
                '}';
    }
}
